<?php
/**
 * Created by PhpStorm.
 * User: fengtian
 * Date: 15-4-1
 * Time: 下午5:48
 */
?>
<script type="application/javascript">
    $(function () {
        $("#rem").ready(function () {
            $("#rem").ajaxForm(function (re) {
                window.location.reload();
            });
        });

    })
</script>
<form action="<?php echo URL::base() ?>checkstock/add_sku_detail" method="post" id="rem">
    <div class="control-group">
        <label>SKU:</label>
        <input type="text" name="sku"/>
        <input type="hidden" name="id" value="<?php echo isset($id)?$id:''?>" />
        <input type="submit" value="添加" class="btn btn-info">
    </div>
</form>
